html, body {
	margin: 0;
	padding: 0;
	background-color: #FFFFFF;
	font-size: 14px;
	color: #555555;
	font-family: simsun, NSimSun, "Microsoft Sans Serif", Serif,"Times New Roman",Georgia;
}

img {
	border: 0;
}

button {
}

div#container {
	width: 100%;
	height:100%;
	height:auto !important;
	min-height: 100%;
	position: relative;
}

/********* header specific *********/

div#header {
	/*position: fixed;*/
	top: 0;
	width: 100%;
	/*height: 110px;*/
}

div#header div#mainHeader {
	width: 100%;
	height: 109px;
	margin: 0;
	padding: 0;
	background: #9E9E9E url('/crm/protected/img/header.jpg') repeat-x;
	display: none;
}

div#header div#mainHeader .logo {
	float: left;
	width: 220px;
	height: 65px;
	background: url('/crm/protected/img/css_logo.png') no-repeat;
	padding: 0;
	margin: 20px 15px 0 15px;
}

div#header div#mainHeader .system_n_t {
	color: #FFFFFF;
	width: 300px;
	height: 20px;
	margin: 85px 15px 0 25px;
	padding: 0;
	/*font-weight: bold;*/
	text-align: right;
	float: right;
	font-size: 12px;
}

div#header div#subHeader {
	/*padding: 5px;*/
	height: 30px;
	background-color: #3F3F3F	;
	/*border-bottom: solid 1px #999999;*/
}

div#header div#subHeader div {
	/*margin: 9px 10px;*/
}

div#header div#subHeader div#returnMainMenu {
	float: left;
	padding: 8px 0px 0px 20px;
}

div#header div#subHeader div#showMainHeader {
	float: right;
	margin: 4px 10px;
	padding: 0;
	cursor: pointer;
	vertical-align: top;
}

div#header div#subHeader div#logout {
	float: right;
	height: 100%;
	background: #757374;
	width: 70px;
}

div#header div#subHeader div#logout  div#logoutContext{
	padding: 8px 0px 0px 0px;
	text-align: center;
	height: 20px;
}

div#header div#subHeader div#username {
	float: right;
	font-size: 12px;
	/*font-weight: bold;*/
	width: 250px;
	color: #FFFFFF;
	text-align: right;
	padding: 8px 30px 0 0;
	
}

div#header div#subHeader div#config {
	float: right;
	margin: 9px 15px;
}

div#header div#subHeader a {
	font-size: 12px;
	font-weight: bold;
	padding: 6px 10px;
	border-radius: 5px;
	text-decoration: none;
    color: #FFFFFF;
	/*background: #6699CC;
    border: solid 1px #225588;*/
}

div#header div#subHeader a:hover {
    background: #4477AA;
}

div#header div#subHeader .usernameStyle {
	padding: 6px 10px;
	background: #FFFFFF;
	border-radius: 5px;
	border: outset 2px #DDDDDD;
	width: 100%;
}

div#navigationBar {
	/*width: 100%;*/
	height: 15px;
	margin: 0;
	padding: 8px 20px ;
	background: #EEEEEE;
	border-bottom: dotted 1px #999999;
	/*visibility: hidden;*/
	display: none;
	
}

div#navigationBar .currentIndex {
	font-weight: bold;
}

div#header .errorMessage, .systemMessage, .warnMessage {
	background-color: #FFDDDD;
	border: #FFAAAA 1px solid;
	margin: 0px;
	padding: 8px 5px 5px 20px;
	display: block;
	float: inherit;
}

/********* content specific *********/

div#content {
	background-color: #FFFFFF;
	margin: 0px 0 0 0;
	/*padding: 10px;*/
}

div#content div#menu table {
	border: 0;
	/*background-color: #F0F8FF;*/
}

div#content div#menu table td {
	border: 0;
}

div#content div#menu table fieldset.menuGroup {
	border: solid 2px #CCCCCC;
	padding: 10px 15px 5px 15px;
}

div#content div#menu table span {
	text-align: center;
}

div#content div#menu table span div.menuGroupIcon {
}

div#content div#menu table span div.menuGroupDesc {
	padding-top: 10px;
}

div#content div#menu table a {
	text-decoration: none;
	display: block;
	padding: 10px;
	width: 80px;
	height: 80px;
	border: solid 1px #F0F8FF;
}

div#content div#menu table a:hover {
	border: solid 1px #99AACC;
	background: #FFFFFF;
}

div#content table#toolbar {
	background: #FFFFFF;
	border-spacing: 5px;
}

div#content table#toolbar td {
	padding: 2px 5px;
}

div#content table#toolbar td.infoGroup {
}

div#content table#toolbar td.radioGroup {
	background: #FFF0F8;
	border: solid 1px #FFDDEE;
}

div#content table#toolbar td.inputGroup {
	background: #FFF8F0;
	border: solid 1px #FFEEDD;
}

div#content table#toolbar td label {
	font-weight: bold;
	margin-right: 10px;
}

div#content table#toolbar td input {
	vertical-align: middle;
	margin-left: 3px;
	margin-right: 3px;
}

div#content .info {
	font-weight: bold;
	margin-right: 5px;
	vertical-align: middle;
}

div#content .bigger {
	font-size: 20px;
}

div#content .red {
	color: #FF0000;
}

div#content .redbg{
	background-color: #FF0000;
}

div#content .yellowbg{
	background-color: #FFFF00;
}

div#content .alignTop{
    vertical-align: top;
}

div#content .spacer {
	width: 10px;
}

/********* footer specific *********/

div#footer {
	width: 100%;
	bottom: 0;
	position: fixed;
	background: #000000;
	/*border-top: solid 1px #999999;*/
}

div#footer .copyright {
	float: left;
	text-align: left;
	width: 250px;
	font-size: 12px;
	line-height: 22px;
	padding: 2px;
}

div#footer .system_n_b {
	float: right;
	text-align: right;
	width: 430px;
	font-size: 12px;
	line-height: 22px;
	padding: 2px;
}

/********* login page specific *********/

div#loginContainer {
	width: 100%;
	height:100%;
	position: absolute;
	background: #9E9E9E url('/crm/protected/img/bg.gif') repeat-x;
}

div#loginContent {
}

form#loginForm {
	border: 1px solid #888888;
	width: 600px;
	height: 345px;
	position:absolute;
	left: 50%;
	top: 50%;
	margin-left: -300px;
	margin-top: -175px;
	background: url('/crm/protected/img/main_03.gif');
}

form#loginForm p.spacer {
	height: 100px;
}

form#loginForm p.alignCenter {
	text-align: center;
}

form#loginForm label {
	float: left;
	width: 250px;
	margin: 5px;
	text-align: right;
}

form#loginForm input #userName, #password {
	float: left;
	width: 200px;
	margin: 5px;
}

form#loginForm input #submit {
	width: 80px;
}

form#loginForm ul {
	visibility: hidden;
}

form#loginForm .loginErrorMessage, .loginSystemMessage, .loginWarnMessage {
	background-color: #FFDDDD;
	border: #FFAAAA 1px solid;
	margin: 0px 100px;
	padding: 8px 5px 5px 20px;
	display: block;
	float: inherit;
}

/********* a4j component *********/ 

#javax_faces_developmentstage_messages {
	display: none;
}

/********* rich component *********/

.rf-pp-shade {
}

.rf-pp-btn {
}

.rf-pp-cntr {
	background: #FFFFFF !important;
	border: 1px solid #CCCCCC !important;
}

.rf-pp-shdw {
	background: #FFFFFF !important;
}

.rf-pp-hdr {
	margin: 0 !important;
	padding: 0 !important;
}

.rf-pp-hdr-cnt {
	background: #F0F8FF !important;
	color: #000000 !important;
	margin: 0 !important;
	padding: 5px !important;
}

.rf-pp-cnt-scrlr {
	background: #FFFFFF !important;
}

.rf-pp-cnt {
	background: #FFFFFF !important;
}

.rf-p {
	/*background: #F0F8FF !important;*/
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.rf-p-b {
	margin: 0 !important;
	padding: 0 !important;
}

.column1Class{
	width: 80px;
	vertical-align: top;
}

.column2Class{
}

.alignRight {
	text-align: right;
}

.customer-oper-button{
	position: relative;
	float:left; 
	margin-left:-100px; 
	padding-top:5px
}

.panel-grid-default{
	width:100%;
}

.panel-grid-default td{
	vertical-align: top;
}

div#customer_header{
	background-color: #9E9E9E;
	height: 25px;
	padding: 10px;
}
div#customer_header div#logout{
	float: right;
}

div#customer_navigationBar{
	height: 25px;
	padding: 0;
	background-color: #EEEEEE;
	padding:10px;
	/*margin-left:10px;*/ 
}

div#customer_navigationBar .currentIndex {
	font-weight: bold;
}

div#customer_navigationBar .rootIndex {
	font-size:15px;
}

div#customer_container{
	/*border: 1px solid #888888;*/
	border-bottom-width:0;	
	padding: 0;
	width: 100%;
	height:100%;
	height:auto !important;
	min-height: 100%;
	position: relative;
	margin-bottom:30px;
	/*margin:5px;*/
}

div#customer_form{
	padding: 0;
	/*margin-left:10px;*/	
}

div#customer_form .spacer{
	height:20px;
}

.space-left{
	margin-left:5px
}

.line{
	margin-bottom: 10px; 
	margin-top: 10px; 
	border-bottom: 2px double grey;
}
.rf-dlst-customer{
	margin-top:2px; 
	margin-bottom:5px
}

div#customer_container div#customer_header a {
	font-size: 14px;
	font-weight: bold;
	padding: 6px 10px;
	border-radius: 5px;
	text-decoration: none;
    color: #FFFFFF;
	background: #6699CC;
    border: solid 1px #225588;
}

.membershipLabel{
	margin-right:20px;
}